package com.weds.data_sync.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description 登录
 * @Author lihw
 * @Date 2024/1/4 13:53
 */
@Schema(name = "LoginDto", description = "登录参数")
@Data
public class LoginDto implements Serializable {



    @NotBlank(message = "登录账户不能为空")
    @Schema(description = "用户名")
    private String username;

    @NotBlank(message = "登录密码不能为空")
    @Schema(description = "密码")
    private String password;

    @NotBlank(message = "验证码不能为空")
    @Schema(description = "验证码")
    private String verifyCode;
}
